MapLibre Native for Android
MapLibre Native for Android
/
com.mapbox.mapboxsdk.module.http
/
HttpRequestUtil
Http
Request
Util
open
class
HttpRequestUtil
Utility class for setting OkHttpRequest configurations
Functions
Functions
set
Log
Enabled
Link copied to clipboard
open
fun
setLogEnabled
(
enabled
:
Boolean
)
Set the log state of OkHttpRequest.
set
Ok
Http
Client
Link copied to clipboard
open
fun
setOkHttpClient
(
@
Nullable
client
:
OkHttpClient
)
Set the OkHttpClient used for requesting map resources.
set
Print
Request
Url
On
Failure
Link copied to clipboard
open
fun
setPrintRequestUrlOnFailure
(
enabled
:
Boolean
)
Enable printing of the request url when an error occurred.